using System;
using System.Drawing;

/*
 *  Author : Bidou (http://www.csharpfr.com/auteurdetail.aspx?ID=13319)
 *  Blog   : http://blogs.developpeur.org/bidou/
 *  Date   : January 2007
 */

namespace AStarTester
{
    /// ----------------------------------------------------------------------------------------
    /// <summary>
    /// Static class: provides only statics methods and fields.
    /// </summary>
    /// ----------------------------------------------------------------------------------------
    internal static class Tools
    {
        /// ----------------------------------------------------------------------------------------
        /// <summary>
        /// Get the color of a square.
        /// </summary>
        /// <param name="value"> The value of the square. </param>
        /// <returns> The color of the square. </returns>
        /// ----------------------------------------------------------------------------------------
        public static Color GetColor(int value)
        {
            switch (value)
            {
                case 0: return Color.White;
                case 1: return Color.LightBlue;
                case 2: return Color.Firebrick;
                case 3: return Color.Black;
            }
            return Color.Black;
        }
    }
}